﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tester.HostedRadioService;

namespace Tester
{
   class Program
   {
      static void Main(string[] args)
      {
         HostedRadioService.RadioServiceClient proxy = new RadioServiceClient();
         Song[] blues = proxy.GetSongsByGenre("blues");

         Console.WriteLine(proxy.Endpoint.Address.Uri.ToString());
         foreach(Song s in blues)
         {
           Console.WriteLine(s.Genre + " " + s.Artist + " " + s.Title);
         }

         Console.ReadKey();
      }
   }
}
